﻿using MediatR;
using Traceability.App.Applications.Command.TraceabilityManagement.Dto;
using Traceability.Enum;

namespace Traceability.App.Applications.Command.TraceabilityManagement
{
    public class TraceabilityGetAllCommand:IRequest<ApiResult<ApiPaging<List<TraceabilityDto>> >>
    {

        public int index {  get; set; }
        public int size {  get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public int produceid {  get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? ProductionLicense { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Manufacturer { get; set; }

    }
}
